package edums.common.dto;

public class AuthoritiesDTO {
	
	private UsersDTO usersDTO;
	private String authority;
	
	public AuthoritiesDTO() {}
	public AuthoritiesDTO(UsersDTO usersDTO, String authority) {
		this.usersDTO = usersDTO;
		this.authority = authority;
	}
	public UsersDTO getUsersDTO() {
		return usersDTO;
	}
	public void setUsersDTO(UsersDTO usersDTO) {
		this.usersDTO = usersDTO;
	}
	public String getAuthority() {
		return authority;
	}
	public void setAuthority(String authority) {
		this.authority = authority;
	}
	
	@Override
	public String toString() {
		return "AuthoritiesDTO [usersDTO=" + usersDTO + ", authority="
				+ authority + "]";
	}
}
